package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-05-31
 */
@TableName("nb_hybrank")
public class Hybrank extends Model<Hybrank> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 营业部代码
     */
    @TableField("g_yyb_code")
    private int gYybCode;
    /**
     * 营业部名称
     */
    @TableField("g_yyb_name")
    private String gYybName;
    /**
     * 营业部买入个股数
     */
    @TableField("g_yyb_bcount")
    private int gYybBcount;
    /**
     * 营业部卖出个股数
     */
    @TableField("g_Yyb_scount")
    private int gYybScount;
    /**
     * 营业部买入总额
     */
    @TableField("g_bmoney")
    private Double gBmoney;
    /**
     * 营业部卖出总额
     */
    @TableField("g_smoney")
    private Double gSmoney;
    /**
     * 营业部总买卖
     */
    @TableField("g_jm_money")
    private Double gJmMoney;
    /**
     * 操作日期
     */
    @TableField("g_tdate")
    private Date gTdate;
    @TableField("g_sname")
    private String gSname;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getgYybCode() {
        return gYybCode;
    }

    public void setgYybCode(int gYybCode) {
        this.gYybCode = gYybCode;
    }

    public String getgYybName() {
        return gYybName;
    }

    public void setgYybName(String gYybName) {
        this.gYybName = gYybName;
    }

    public int getgYybBcount() {
        return gYybBcount;
    }

    public void setgYybBcount(int gYybBcount) {
        this.gYybBcount = gYybBcount;
    }

    public int getgYybScount() {
        return gYybScount;
    }

    public void setgYybScount(int gYybScount) {
        this.gYybScount = gYybScount;
    }

    public Double getgBmoney() {
        return gBmoney;
    }

    public void setgBmoney(Double gBmoney) {
        this.gBmoney = gBmoney;
    }

    public Double getgSmoney() {
        return gSmoney;
    }

    public void setgSmoney(Double gSmoney) {
        this.gSmoney = gSmoney;
    }

    public Double getgJmMoney() {
        return gJmMoney;
    }

    public void setgJmMoney(Double gJmMoney) {
        this.gJmMoney = gJmMoney;
    }

    public Date getgTdate() {
        return gTdate;
    }

    public void setgTdate(Date gTdate) {
        this.gTdate = gTdate;
    }

    public String getgSname() {
        return gSname;
    }

    public void setgSname(String gSname) {
        this.gSname = gSname;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Hybrank{" +
        "id=" + id +
        ", gYybCode=" + gYybCode +
        ", gYybName=" + gYybName +
        ", gYybBcount=" + gYybBcount +
        ", gYybScount=" + gYybScount +
        ", gBmoney=" + gBmoney +
        ", gSmoney=" + gSmoney +
        ", gJmMoney=" + gJmMoney +
        ", gTdate=" + gTdate +
        ", gSname=" + gSname +
        "}";
    }
}
